package com.ht.bean;

import java.util.List;

//树形图
public class Shuxintu {

    private String  title;//名字
    private Integer id;//id值
    private List<Shuxintu>  children;//子类

    @Override
    public String toString() {
        return "shuxintu{" +
                "title='" + title + '\'' +
                ", id=" + id +
                ", children=" + children +
                '}';
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public List<Shuxintu> getChildren() {
        return children;
    }

    public void setChildren(List<Shuxintu> children) {
        this.children = children;
    }
}
